where to execute javascript